001 project specification
大家好,欢迎来到项目 4。
Hey everybody welcome to project 4.
这将是一个非常简单的项目。
This is going to be a pretty simple project.
我们真正要做的就是设置一些安全配置文件。
All we're really going to be doing here is setting up some security profiles.
那么我们想用这个来完成什么呢?
So what do we want to accomplish with this.
我们这个时代发生了一些半路敏感的事情——我,我们不只是希望任何人和他的狗一起走,改变其中一件事是我们的系统配置,我们所有的警报设置点和控制说的要点你知道,如果有人搞乱了这些设定值并错误地配置了我们的系统,那么不需要很长时间就能完全炸毁运行我们过滤器的泵。
We've got some Half-Way sensitive things going on inside of our age him-I that we don't just want anybody and his dog to walk along and change one of the things is our system configurations all of our alarms set points and control said points you know if somebody messed those setpoints up and configured our system wrong it wouldn't take very long to completely blow up the pump run our filter.
您知道,您可以做很多事情来使水箱充满水,从而使水箱中的水耗尽。
You know there are a lot of things that you could do overfill the tank run the tank out of water.
你真的可以把设定点中的一些事情搞砸。
You could really screw some things up in the setpoints.
因此,我们希望有人证明他们有权实际改变这些设定点并做到这一点。
So we want somebody to demonstrate that they have the authority to actually change those set points and to do that.
我们必须给他们一个密码并在系统上创建一个帐户。
We're going to have to give them a password and create an account on the system.
我们想要保护的另一件事是我们的仪表和循环计数。
The other thing we want to protect is our our meter and our cycle counts.
您知道这些可能与保修相关问题有关。
You know those could be tied to warranty related issues.
如果我把系统卖给某人,也许我会保证它的运行时间为 10000 小时。
And if I sold the system to somebody maybe I'd guaranteed it for 10000 hours of run time.
好吧,当它达到 15000 小时并出现故障时,我不希望有人过来并按下计时器上的重置按钮,然后你知道然后打电话给我说嘿它仍在保修期内来修复这个东西。
Well when this gets up to 15000 hours and breaks I don't want some guy coming along and hitting the reset button on the hour meter and you know then calling me and saying hey it's still within warranty come fix this thing.
所以我想要两个不同的安全配置文件。
So I want two different security profiles.
我想要一个能够访问我们的仪表并重置周期计数的设备。
I want one that enables access to the our meter and the cycle count resets.
然后我还想要另一个允许有人进入并更改设定点的程序。
Then I also want another one that allows somebody to get in and change the set points.
除此之外,我想在这个系统上创建三个不同的用户。
Aside from that I want to create three different users on this system.
现在任何人都可以通过并使用不受保护的东西。
Now anybody can come through and use the things that aren't protected.
但我希望在您的项目中配置三个不同的用户,其中一个用户只能更改计时器,然后更改所有不受保护的内容。
But I want three different users configured in your project one user only has access to change the hour meter and then all of the stuff that's unprotected.
第二个用户将有权更改设置点,然后还可以访问不受保护的所有内容。
The second user he's going to have access to change the set points and then also have access to everything that's not protected.
但这家伙无法重置计时器和周期计数。
But this guy is not going to have access to reset the hour meter and the cycle count.
第三个人将成为我们的超级用户,他当然可以访问所有不受保护的内容,但他也将拥有我们的两个权限类别。
The third guy this is going to be our super user he'll of course have access to all of the unprotected stuff but he's also going to have both of our permission classes.
他将能够重置我们的仪表和周期计数,他还能够进入并更改我们所有的系统设置点和配置。
He's going to be able to reset our our meter and cycle count and he'll also be able to get in and change all of our system setpoints and configurations.
您可以随意称呼这些用户。
You can call these users whatever you want.
您可以根据需要设置这些配置文件。
You can set these profiles up however you want.
但我们确实希望看到一个用户可以登录并进行基本帐户管理的屏幕。
But we do want to see a screen where the user can get in log in and have basic account management.
您想在屏幕上显示多少信息完全取决于您。
And how much information you want to show on that screen that is completely up to you.
我会挑战您进入“帮助”菜单,我在我们探索 Easy Builder 的安全功能的部分中向您展示了该菜单,进入该菜单,您将看到 HDMI 中用于存储和管理安全性和访问的所有内存和权限以及所有这些,并享受安全屏幕的乐趣。
I would challenge you to get into the Help menu that I showed you in the section where we were exploring the security features of easy builder get into there and you'll see all of the memory used in the HDMI to store and manage security and access and permissions and all of that and have fun with the security screen.
不要让它变得疯狂,而是让它变得有用,并尝试至少使用屏幕上的大部分空间,因为如果我们将整个屏幕用于登录,那么我们就可以继续为用户提供某种反馈。
Don't make it something crazy but make it something useful and do try to use up at least most of the space on your screen because if we're dedicating a whole screen to logging in let's go ahead and give the users some kind of feedback.
这就是挑战。
That's the challenge.
这会有点棘手。
It's going to be a little bit tricky.
真正的技巧是填满空间,所以玩得开心,当我尝试建造自己的教堂时,我们会在下一个讲座中见到你。
And the real trick is going to be filling up the space so have fun and I'll see you in the next lecture when I take a stab at building my own church.